package net.vinant.idp4java.base;

import javax.servlet.ServletConfig;

import org.openid4java.server.ServerManager;


public abstract class BaseServiceProxy {
	ServerManager serverManager;
	//protected BaseServiceProxy(ServerManager serverManager) {
	protected BaseServiceProxy(ServerManager serverManager){
		//this.serverManager = serverManager;
		this.serverManager = serverManager;
		init();
	}
	public ServerManager getServerManager(){return serverManager;}
	protected abstract void init() ;
	public abstract BaseAuthenticationHandler getAuthenticationHandler();
	public abstract BaseProtocolImplementation getProtocolImplementation();
	protected BaseServiceProxy getServiceProxy(){
		return this;
	}
}
